package com.example.sneakerappserver.service;

import com.example.sneakerappserver.pojo.User;
import com.example.sneakerappserver.pojo.dto.UserDto;

public interface IUserService {
    /**
     * 插入用户
     *
     * @param user 参数
     * @return
     */
//    User add();

    User queryByUserId(Long id);

    User queryByUserName(String userName);

    boolean register(String userName, String passWord);


}
